package com.dev.security.mapper;

import com.dev.security.entity.Menu;
import com.dev.security.entity.RoleMenu;
import com.dev.security.entity.UserRole;

import java.util.List;

/**
 * 角色菜单Mapper
 *
 * @author yuboon
 * @version v1.0
 * @date 2020/04/04
 */
public interface RoleMenuMapper {

    public int insert(RoleMenu roleMenu);

    public int selectByRoleMenu(RoleMenu roleMenu);

    public int deleteByRoleId(int roleId);

    public List<Menu> selectMenuByRoleId(int roleId);

}
